-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow passing path as input opt #13
Conversation
Pushed a commit that makes the test simpler, should pass all tests and operating systems in Travis. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy for this to be merged and deployed.
Have been thinking about how this tool can be used for ssb-db and ssb-db2
@@ -47,7 +47,8 @@ By default, CreateTestSbot deletes an existing database of the same `name` befor | |||
|
|||
Valid `opts` keys include: | |||
- `name` *String* (optional) (default: `ssb-test + Number(new Date)`) | |||
- `myTestName`: Sets the database in /tmp/myTestName | |||
- `path` *String* (optional) (default: `/tmp/${name}`, where `name` is the above) | |||
- `~/.ssb-test`: Sets the database in `~/.ssb-test` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sets the working location for the identity - log databases, secret, conn.json etc
Wonder if there's an easy word for that.
Anyway not a big deal
Nice, can has merge? |
Checked the travis error, seems to have been failing before as well. |
Published as 1.5 |
Context: ssbc/ssb-fixtures#2
Problem: I have generated an SSB database but I want different authors (different ssb keys objects) in scuttle-testbot to share the same folder. scuttle-testbot currently make the
path
from thename
, but this forces us to use/tmp/something
folders.